package blow.sky.quoted.response;

import com.fasterxml.jackson.annotation.JsonAutoDetect;
import lombok.Data;

/**
 * @Description TODO
 * @Author sun
 * @Date 2021/5/24 10:39
 */

@Data
@JsonAutoDetect(fieldVisibility=JsonAutoDetect.Visibility.ANY, getterVisibility=JsonAutoDetect.Visibility.NONE)
public class AccountResponse
{
    // 状态
    String status;
    // 信息
    String msg;
    // token
    String token;

    public AccountResponse(String status)
    {
        this.status = status;
    }

    public AccountResponse(String status, String msg)
    {
        this.status = status;
        this.msg = msg;
    }

    public AccountResponse(String status, String msg, String token)
    {
        this.status = status;
        this.msg = msg;
        this.token = token;
    }
}
